-
Notifications
You must be signed in to change notification settings - Fork 7.7k
drivers: ethernet: phy: use default speeds props on the other phys #91572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
drivers: ethernet: phy: use default speeds props on the other phys #91572
Conversation
2785c29
to
b76ec40
Compare
185bb90
to
0a2ddba
Compare
62e692e
to
dda4d30
Compare
rebased due to now merged ci fix |
24c9195
to
2f6c139
Compare
rebased to resolve confilicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
move adi,adin1110.yaml adi,adin2111.yaml from the phy subdir back into the ethernet dir. They are ethernet controller bindings, not phy bindings. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
fixed link mode is a mode where we don't comunicate with the phy, therefore we don't need it in other phys as the generic phy_mii one. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
split ethernet-phy.yaml, so that parts, that are used by other phys are separated. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
remove the use of phy_configure_link() in the ethernet drivers. The user can now select the default speeds via DT prop, doing another phy_configure_link() in the eth driver would overwrite that. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
put the macro to get the default speeds into a shared header for the phys. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
- implement configure link - support half duplex - use defines from mii.h - fix check ret vals Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com> Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use mutex to protect page register phy_mc_vsc8541_get_link got removed from phy_mc_vsc8541_link_cb_set so, that phy_mc_vsc8541_link_monitor (own thread) is the only one to change data->state Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds dt prop Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2f6c139
to
5e306fb
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use the default speeds dt prop introduced here #89210 for phy_mii also on the other phys.